<div class="bntop" id="slider" style="height:176px; width:996px; overflow:hidden; margin:0 auto;">
    <? foreach ($list as $rs) : ?>
    <a href="<?=$rs->lb_url?>" title="<?=$rs->lb_title?>"><img src="<?=url()?>uploads/banner/<?=$rs->lb_image?>" width="996" height="176" alt="<?=$rs->lb_title?>" /></a> 
    <? endforeach ;?>
</div>
<div class="line"></div>
<link rel="stylesheet" type="text/css" href="<?=base_url()?>templates/css/nivo-slider.css" />
<script src="<?=url?>templates/js/jquery.nivo.slider.pack.js" language="javascript"></script>
<script type="text/javascript">
$(window).load(function() {
	$('#slider').nivoSlider({
		'prevText':'',
		'nextText':'',
		animSpeed: 1500,
		pauseTime: 3000,
	});
});
</script>